// import { createApp } from 'vue'
// import App from './App.vue'
// import './index.css'

// createApp(App).mount('#app')

// 调用vue中的函数
import { createApp } from 'vue'
// 导入待渲染的vue组件
// import App from './App.vue'
import App from './components/App.vue'
//1、全局注册组件
import Swiper from './components/globalReg/Swiper.vue'
import Test from './components/globalReg/Test.vue'

// 实例化对象
const app = createApp(App)
    // 2、调用app.componet()方法全局注册组件
app.component('my-swiper', Swiper)
app.component('my-test', Test)
    // 将组件挂载到HTML中相应的地方
app.mount('#app')